package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 db_evaluate
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public class DbEvaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 用户头像 */
    private String userPhoto;

    /** 评论内容 */
    private String evaluateContent;

    /** 评论图片 */
    private String evaluatePhoto;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 备用1 */
    private String standby1;

    /** 备用2 */
    private String standby2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserPhoto(String userPhoto) 
    {
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto() 
    {
        return userPhoto;
    }

    public void setEvaluateContent(String evaluateContent) 
    {
        this.evaluateContent = evaluateContent;
    }

    public String getEvaluateContent() 
    {
        return evaluateContent;
    }

    public void setEvaluatePhoto(String evaluatePhoto) 
    {
        this.evaluatePhoto = evaluatePhoto;
    }

    public String getEvaluatePhoto() 
    {
        return evaluatePhoto;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setStandby1(String standby1) 
    {
        this.standby1 = standby1;
    }

    public String getStandby1() 
    {
        return standby1;
    }

    public void setStandby2(String standby2) 
    {
        this.standby2 = standby2;
    }

    public String getStandby2() 
    {
        return standby2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhoto", getUserPhoto())
            .append("evaluateContent", getEvaluateContent())
            .append("evaluatePhoto", getEvaluatePhoto())
            .append("goodsId", getGoodsId())
            .append("standby1", getStandby1())
            .append("standby2", getStandby2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
